package com.woniu.service;

import com.github.pagehelper.PageInfo;
import com.woniu.entity.Account;
import com.woniu.vo.AccountVo;

public interface AccountService {
    Account accountLoginByAccountName(String accountName);
    PageInfo<AccountVo> selectAccountByMerchant(Integer pageNum,Integer pageSize,String accountName,Long startTime,Long endTime,Integer isDelete);
    int updateAccountStatusByAccountId(Account account);
    Account selectAccountByAccountName(Account account);
    int updateAccountByAccountId(Account account);
    PageInfo<AccountVo> selectAccountByTotal(Integer pageNum,Integer pageSize);
    void upadateAccountLoginDate(Account account);
    int accountRegisterByMerchant(Account account);

}
